plc programming example pick and place testing